package com.rightsidetech.system.mapper;

import com.rightsidetech.system.dtos.response.SysRoleSelectResp;
import com.rightsidetech.system.entity.SysUserInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysUserInfo record);

    int insertSelective(SysUserInfo record);

    SysUserInfo selectByPrimaryKey(Long id);

    SysUserInfo selectByLoginId(Long loginInfoId);

    int updateByPrimaryKeySelective(SysUserInfo record);

    int updateByPrimaryKey(SysUserInfo record);

    List<SysRoleSelectResp> selectNameList(@Param("areaId") Long areaId);

    int updateDel(Long LoginId);
}